package model

import "gorm.io/gorm"

type Shop struct {
	gorm.Model
	Name   string
	Price  float64
	Number int
	UserId int
}

func (s *Shop) ShopAdd(db *gorm.DB) error {
	return db.Create(&s).Error
}
